home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
ForCLI
/
foreach.readme
< prev
next >
Wrap
Text File
|
1996-09-26
|
1KB
|
42 lines
Short: VERY useful, flexible shell-command.
Author: farindk@trick.informatik.uni-stuttgart.de (Dirk Farin)
Uploader: farindk@trick.informatik.uni-stuttgart.de (Dirk Farin)
Type: util/cli
Foreach
-------
Lets you perform the same command with different arguments.
For example:
- compress all .txt files into its own archive
foreach #?.txt lha m &< &
- rename all .lzh files to .lha:
foreach #?.lzh rename &<.lzh &<.lha
- make two backups of all files
foreach {bak1,bak2} copy #? df0:&
and much more...
Requirements:
Workbench 2.0
I promise: you can't live without it in the future !
Have fun!
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
10948 6966 36.3% 20-Jul-94 20:55:54 foreach
4053 1720 57.5% 20-Jul-94 20:32:38 foreach.doc
4260 1923 54.8% 20-Jul-94 20:34:46 foreach.dok
-------- ------- ----- --------- --------
19261 10609 44.9% 08-Jan-95 03:52:46 3 files